var basePath="../../js/";
function include(fpath){ 

	   document.write('<script src="'+ basePath + fpath + '.js" type="text\/javascript"></script>'); 
	}
	include('jquery-1.4.2.min');
	include('jquery-ui-1.8.6.custom.min');

	var g_var={}

	function reg(key,obj){
		g_var[key]=obj;
	}
	function getParameter(){
		var Url=window.location.href;
		var u,g,StrBack='';
		if(arguments[arguments.length-1]=="#")
		   u=Url.split("#");
		else
		   u=Url.split("?");
		if (u.length==1) g='';
		else g=u[1];

		if(g!=''){
		   gg=g.split("&");
		   var MaxI=gg.length;
		   str = arguments[0]+"=";
		   for(i=0;i<MaxI;i++){
		      if(gg[i].indexOf(str)==0) {
		        StrBack=gg[i].replace(str,"");
		        break;
		      }
		   }
		}
		return StrBack;
	}

	if(getParameter("contentTypeName")=='tap_cytology'){
		include('leesoft.jquery.autotable');
	}